package com.stockz.core.model;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;

import org.springframework.context.annotation.Lazy;

@Entity
@Lazy(true)
public class Configuration implements Serializable{
	private static final long serialVersionUID = 5748801703332111163L;
 
	private String key;
	private String value;
	
	public Configuration() {

	}
	
	public Configuration(String key, String value) {
		super();
		this.key = key;
		this.value = value;
	}

	@Id
	@Column
	public String getKey() {
		return key;
	}
	public void setKey(String key) {
		this.key = key;
	}
	
	@Column
	public String getValue() {
		return value;
	}
	public void setValue(String value) {
		this.value = value;
	}
	
}
